package com.es.www.kyl.bean.res.client;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Estranger
 * @date 2025/8/13
 * description
 */
@Data
public class QuestionCompletionVO implements Serializable {
	private static final long serialVersionUID = 7910453716946022264L;

	@ApiModelProperty(value = "分类id")
	private Integer categoryId;

	@ApiModelProperty(value = "分类名称")
	private String categoryName;

	@ApiModelProperty(value = "分类风格")
	private String style;

	@ApiModelProperty(value = "完成度")
	private String completionRate;

	@ApiModelProperty(value = "正确率")
	private String correctRate;

	@ApiModelProperty(value = "用户练习状态")
	private List<UserPracticeStateVO> userPracticeStateList;

	@ApiModelProperty(value = "错题存在标识")
	private Boolean hasWrongFlag;

	@Data
	public static class UserPracticeStateVO implements Serializable{
		private static final long serialVersionUID = -4294294243106743391L;

		@ApiModelProperty(value = "轮次id")
		private String roundId;

		@ApiModelProperty(value = "轮次类型 1: 普通类型；2:错题类型")
		private String practiceType;

		@ApiModelProperty(value = "用户本轮次练习状态 1: 进行中; 2: 已完成")
		private Integer status;
	}



}
